﻿using System.Globalization;

namespace ODM.Data.Model
{
    public class Sample
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Sample"/> class.
        /// </summary>
        public Sample()
        {

        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Sample"/> class.
        /// </summary>
        /// <param name="source">The source.</param>
        public Sample(Sample source)
        {
            this.ID = source.ID;
            this.LaboratoryCode = source.LaboratoryCode;
            this.Type = source.Type;
        }

        public int ID { get; set; }

        public string LaboratoryCode { get; set; }

        public string Type { get; set; }

        public override string ToString()
        {
            return string.Format(CultureInfo.CurrentUICulture, "{0} - {1}", this.LaboratoryCode, this.Type);
        }
    }
}
